#ifndef SENDER_H
#define SENDER_H
#include <QDialog>
#include <string>

class QDialogButtonBox;
class QLabel;
class QPushButton;
class QTimer;
class QUdpSocket;

class Sender : public QDialog {
    Q_OBJECT
    public:
        Sender(QWidget *parent = 0);
    private slots:
        void sendUP();
        void sendDOWN();
        void sendQuit();
    private:
        int messageNo;
        QLabel *statusLabel;
        QPushButton *upButton;
        QPushButton *downButton;
        QPushButton *quitButton;
        QDialogButtonBox *buttonBox;
        QUdpSocket *udpSocket;
};

#endif
